﻿using System.Windows.Forms;

namespace DevelopTool.Model.CommonModels
{
    /// <summary>
    /// DataGridView点击事件操作参数
    /// </summary>
    public class DataGridViewEventArgs
    {
        /// <summary>
        /// 鼠标
        /// </summary>
        public MouseButtons MouseButton { get; set; }

        /// <summary>
        /// 列
        /// </summary>
        public DataGridViewColumn Column { get; set; }

        /// <summary>
        /// 单元格
        /// </summary>
        public DataGridViewRow Row { get; set; }

        /// <summary>
        /// 单元格
        /// </summary>
        public DataGridViewCell Cell { get; set; }

        /// <summary>
        /// 是否取消操作
        /// </summary>
        public bool Cancel { get; set; } = false;
    }
}
